<?php

class FraisController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
       $db = Zend_Db_Table::getDefaultAdapter();
       $lesFrais=$db->fetchAll('select * from fraisforfait');
       $this->view->lesFrais = $lesFrais;
    }

    public function modifierAction()
    {
        
    }

    public function listeforfaitAction()
    {
        $db = Zend_Db_Table::getDefaultAdapter();
       $lesFrais=$db->fetchAll('select * from fraisforfait');
       $this->view->lesFrais = $lesFrais;
    }


}





